<h1>Search List</h1>


<table class="table table-striped table-bordered" width="100%" id="example">
	<thead>
    <tr>
		<th>Product Name</th>
		<th>Product Code</th>
        <th>Category</th>
		<th>Company</th>
        <th>Availabe Quantity</th>
		<th>Sellinng Price</th>
	</tr>
    </thead>
	<?php foreach ($products as $report):?>
		<tr>
			<td><?php echo $report->name; ?></td>
			<td><?php  echo $report->code; ?></td>
            <td><?php  echo $report->category_name; ?></td>
            <td><?php  echo $report->company_name; ?></td>
			
			    <td><?php  echo $report->opening_stock." ".$report->unit_name; ?></td>
       		<td><?php  echo $report->selling_price; ?></td>
		</tr>
	<?php endforeach;?>
</table>

<!--<p><a href="<?php echo site_url('auth/create_report');?>">Create a new report</a> | <a href="<?php echo site_url('auth/create_group');?>">Create a new group</a>
<a href="<?php echo site_url('auth/logout');?>">Logout</a>
</p>-->


    <!-- Button to trigger modal -->
    
     
    <!-- Modal -->
